package com.hehe.vo;

import com.hehe.powernode.pojo.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Set;

@ApiModel("菜单和权限集合")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MenuAndPermsVo {

    @ApiModelProperty("菜单集合")
    private List<SysMenu> menuList;

    @ApiModelProperty("权限集合")
    private Set<String> authorities;
}
